/* 搜索框区域 */
.search-container {
  display: flex;
  align-items: center;
  padding: 15rpx 30rpx;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.search-bar {
  flex: 1;
  height: 70rpx;
  background: #f5f5f5;
  border-radius: 35rpx;
  display: flex;
  align-items: center;
  padding: 0 20rpx;
}

.search-bar icon {
  margin-right: 10rpx;
  color: #999;
}

.search-bar input {
  flex: 1;
  height: 100%;
  font-size: 28rpx;
}

.placeholder {
  color: #ccc;
}

.clear-btn {
  margin-left: 10rpx;
}

.cancel-btn {
  margin-left: 20rpx;
  font-size: 30rpx;
  color: #666;
}

/* 内容区域 */
.section {
  padding: 30rpx;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  color: #666;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
}

.tag {
  padding: 10rpx 20rpx;
  background: #f5f5f5;
  border-radius: 6rpx;
  margin-right: 20rpx;
  margin-bottom: 20rpx;
  font-size: 26rpx;
  color: #333;
}

/* 搜索结果 */
.result-container {
  height: calc(100vh - 210rpx);
  padding: 20rpx 0rpx;
}

.result-item {
  display: flex;
  padding: 20rpx 0;
  border-bottom: 1rpx solid #f5f5f5;
}

.result-item .cover {
  width: 180rpx;
  height: 180rpx;
  border-radius: 8rpx;
  margin-right: 20rpx;
}

.result-item .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-item .title {
  font-size: 28rpx;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.result-item .price {
  font-size: 32rpx;
  color: #f40;
  font-weight: bold;
}

/* 空状态 */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
  color: #999;
  font-size: 28rpx;
}

.empty image {
  width: 200rpx;
  height: 200rpx;
  margin-bottom: 30rpx;
}